const fs = require('fs');

console.log(__dirname);

fs.readFile(__dirname + '/data/a.txt','utf8',(err,data)=>{
    if (err) {
        console.log('not found');
    } else {
        console.log(data);
    }
});